package net.zjitc.mapper;

import net.zjitc.pojo.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author admin
 * @Date 2019/4/30 8:27
 */
public class UserMapper {
    public List<User> findAll(){
        List<User> list = new ArrayList<User>();
        User user = new User();
        user.setUsername("张三");
        user.setPassword("123456");
        list.add(user);
        User u2 = new User();
        u2.setUsername("李斯");
        u2.setPassword("456789");
        list.add(u2);
        return list;
    }
}
